package com.wsoft.form.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author z001
 * @Date 2024/9/9 17:14
 */
@Data
public class TableVO {
    @Schema(description = "页面Id")
    private Long formId;

    @Schema(description = "表Id")
    private Long tableId;

    @Schema(description = "表名")
    private String tableName;

    @Schema(description = "是否为主表(0-否，1-是)")
    private Integer isMaster;

    @Schema(description = "关联类型")
    private Integer relationType;

    @Schema(description = "主表Id")
    private Long masterTableId;

    @Schema(description = "主表名称")
    private String masterTableName;

    @Schema(description = "主表关联字段Id")
    private Long masterColumnId;

    @Schema(description = "主表关联字段名称")
    private String masterColumnName;

    @Schema(description = "从表Id")
    private Long slaveTableId;

    @Schema(description = "从表名称")
    private String slaveTableName;

    @Schema(description = "从表关联字段Id")
    private Long slaveColumnId;

    @Schema(description = "从表关联字段名称")
    private String slaveColumnName;
}
